Fitness data can be retrieved stored and retrieved many ways including with
Databin
,
ServiceExecute
, or
Import
on a raw data file. Import the data:
In[10]:=
stepcounts=ResourceData
,"DailyStepCount"
Out[10]=
TimeSeries
Time:
06 Jan 2010
GMT
-6
to
14 Nov 2022
GMT
-6
Data points: 4521

Plot steps per day as a function of time:
In[42]:=
DateListPlot[stepcounts]
Out[42]=
Make a histogram of the results:
In[43]:=
Histogram[stepcounts]
Out[43]=
Plot the weekly moving average. It looks as if there was at least a slight upward trend:
In[44]:=
DateListPlotMovingAveragestepcounts,

Out[44]=